package mr.zhang.dao;

import mr.zhang.dao.domain.MerchantProperty;

import java.util.List;



public interface MerchantPropertyDao {
	//添加商家属性
	public void saveMerchantProperty(MerchantProperty merchantProperty);

	//删除商家属性
	public void deleteMerchantProperty(int id);

	//更新商家属性
	public void updateMerchantProperty(MerchantProperty merchantProperty);

	//根据id查询商家属性
	public MerchantProperty queryMerchantPropertyById(int id);

	//查询商家属性
	public List<MerchantProperty> queryMerchantProperty(int offset, int pagesize);

	//查询商家属性总条目数
	public int queryMerchantPropertyCount();

}
